package com.ttmall.product.feign;

import com.ttmall.common.utils.R;
import com.ttmall.product.feign.fallback.UploadFileFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(value = "third",fallback = UploadFileFeignFallback.class)
public interface UploadFileFeign {

    @PostMapping("deleteFile")
    R deleteFile(@RequestBody Map<String,String> fileBody);
}
